package com.cyloer.smartThread;

import com.cyloer.smartThread.Singleton.SingletonInner;

/**
 * @Description:
 * @author: xiangliu5
 * @date: 2022/1/26 13:41
 */
public class TestMain1 {

    public static void main(String[] args) {

        for(int i=0;i<3;i++) {
            new Thread(
                    new Runnable() {
                        @Override
                        public void run() {
                        SingletonInner singletonInner=SingletonInner.getInstance();
                         singletonInner.println();
                        }
                    }
            ).start();
        }
    }
}
